<%@page import="edu.tsinghua.eea.powermanagementserver.model.DBInterface"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="edu.tsinghua.eea.powermanagement.data.HomeInfo"%>
<%
String server_msg = (String)request.getAttribute("server_msg"); 
String server_msg_color = (String)request.getAttribute("server_msg_color");%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
</style>
<link href="css/rf_style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div style="margin: 5px 5px 0 5px;"><%
				if(server_msg != null){
					if(server_msg_color == null){%>
					<div class='fleft wfill'>
						<div class='msg_info'>
							<%=server_msg %>
						</div>
					</div><%
					} else {
						%><div class='fleft wfill'>
						<div class='msg_info' style='background-color: <%=server_msg_color %>;'>
							<%=server_msg %>
						</div>
					</div><%
					}
				}%>
</body>
</html>